:root {
  --backgroundColor1: white;
  --backgroundColor2: #eeeeee;
  --textColor: black;
  --borderColor: black;
  --backgroundColor1-hover: black;
  --textColor-hover: white;
  --borderColor-hover: white;
  --image: url("..\\home-light.png");
}

[data-subject="dark"] {
  --backgroundColor1: #222;
  --backgroundColor2: black;
  --textColor: white;
  --borderColor: white;
  --backgroundColor1-hover: white;
  --textColor-hover: black;
  --borderColor-hover: black;
  --image: url("..\\home-dark.png");
}

body {
  font-size: 1.5rem;
  font-family: "Apple Chancery", "Brush Script MT", cursive;
  background-color: var(--backgroundColor1);
  color: var(--textColor);
  display: flex;
  flex-direction: column;
  flex: 1;
}

#image {
  background-image: var(--image);
  width: 90%;
  height: auto;
}

.footer {
  color: grey;
  background-color: var(--backgroundColor2);
  padding-top: 4rem;
  padding-left: 1rem;
  height: 3rem;
  margin-top: auto;
}

.h {
  text-align: center;
}

h1.h {
  text-align: center;
  font-size: 3rem;
}

h3.h {
  text-align: center;
  font-size: 2rem;
}

a {
  color: blue;
}

.statistics {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.statistics th {
  border: 2px solid #ccc;
  border-radius: 0.2rem;
}

.statistics td {
  border: 2px solid #ccc;
  border-radius: 0.2rem;
  padding-left: 1rem;
  padding-top: 0.6rem;
}

.projects {
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.projects th {
  border: 2px solid #ccc;
  border-radius: 0.2rem;
}

.projects td {
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 0.2rem;
}

@media (max-width: 980px) {
  body {
    font-size: 1.2rem;
  }

  h1.h {
    font-size: 2.4rem;
  }

  h3.h {
    font-size: 1.6rem;
  }

  .footer {
    height: 2.5rem;
  }
}

@media (max-width: 798px) {
  body {
    font-size: 1rem;
  }

  h1.h {
    font-size: 2rem;
  }

  h3.h {
    font-size: 1.2rem;
  }

  .footer {
    height: 2rem;
  }
}